package com.wgchao.pharmacymg.Infrastructure.exception;

import lombok.Data;

/**
 * @ClassName: CommonException
 * @author: wgchao
 * @createTime: 2019/11/17 9:17 AM
 * @Description: TODO
 */
@Data
public class CommonException extends RuntimeException {
    private String code;
    private String msg;

    public CommonException(String msg) {
        super(msg);
        this.msg = msg;
    }
}
